<body>
<div class="path fn-clear"><span class="fb">首页</span><a href="{url('diypage/lists')}">自定义单页</a><a href="{url('diypage/lists')}">添加或修改</a></div>
<div class="ui-form">
<form id="form" action="{url('diypage/listsedit')}" method="post">
<input type="hidden" name="fid" value="{$fid}"/>  
<table>
    <tr><th>页面名称:</th><td><input class="input w200" datatype="*" type="text"  name="title" nullmsg="页面名称必须填写" value="{$info['title']}" /></td></tr>
    <tr><th>关键字:</th><td><input class="input w500" datatype="*" type="text"  name="keywords" nullmsg="关键字必须填写" value="{$info['keywords']}" /> 建议4-6个关键词,用、号分开</td></tr>
    <tr><th>页面描述:</th><td><textarea datatype="*" name="description" class="textarea w400 h50" nullmsg="页面描述必须填写">{$info['description']}</textarea></td></tr>
    <tr>
        <th>标签内容:</th><td><textarea class="ui-editor" name="content" style="width:100%;height:300px">{htmlspecialchars($info['content'])}</textarea></td>
    </tr>
</table> 
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','Dialog','Form','Editor',function(){ 
    $('#form').cpFormPage({ajaxpost:1});
})      
</script>
</body>
